/**
 * 跳转登入页
 */
import vRouter from "@/router";

const router = vRouter
const login = () => {
    ElMessageBox.alert(
        '请先登入账户', '系统提示',
        {
            confirmButtonText: 'OK',
            cancelButtonText: 'Cancel',
            callback: () => {
                router.push('/login')
                ElMessageBox.close()
            }
        })
}
export default login